<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/User.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <% using(Html.BeginForm()) { %>

        <fieldset>
            <legend><%= Html.ThemeImage("change_email.png") %> Change Email</legend>
            
            <dl class="form">
                <dt>Current Email</dt>
                <dd><%= ViewData["CurrentEmail"] %></dd>
                
                <dt>New Email</dt>
                <dd>
                    <%= Html.TextBox("NewEmail")%>
                    <%= Html.ValidationMessage("NewEmail")%>
                </dd>
                
                <dt>Confirm New Email</dt>
                <dd>
                    <%= Html.TextBox("ConfirmEmail")%>
                    <%= Html.ValidationMessage("ConfirmEmail")%>
                </dd>        
                
                <dt>&nbsp;</dt>
                <dd><%= Html.SubmitButton("ChangeEmail", "Change Email") %></dd>
                
            </dl>

        </fieldset>

    <% } %>

</asp:Content>
